package com.dodo.blog.ui.util;

/**
 * @author <a href="mailto:pohorelec@comvai.com">Jozef Pohorelec</a>
 */
public class Error
{
    private String property;

    private String message;

    public Error( String property, String message )
    {
        this.property = property;
        this.message = message;
    }

    public String getProperty()
    {
        return property;
    }

    public void setProperty( String property )
    {
        this.property = property;
    }

    public String getMessage()
    {
        return message;
    }

    public void setMessage( String message )
    {
        this.message = message;
    }

    @Override
    public String toString()
    {
        return "Error{" +
                "property='" + property + '\'' +
                ", message='" + message + '\'' +
                '}';
    }
}
